<?php 

$username = $_POST['username'];
$password = $_POST['password'];
$nickname = $_POST['nickname'];
$birthday = $_POST['birthday'];
$tel = $_POST['tel'];
$email = $_POST['email'];

setCookie("username",$username);
setCookie("password",$password);
setCookie("nickname",$nickname);
setCookie("birthday",$birthday);
setCookie("tel",$tel);
setCookie("email",$email);
echo "您已经注册成功，请您<a href='login.php'>登录</a>";

 ?>